#ifndef MODEL_H
#define MODEL_H

#include "drawable.h"
#include <string>
#include <vector>

class Model : public Drawable
{
	
	friend class Block;

public:
	
	Model(std::string);
	void load(std::string);
	
	virtual void draw();
	void drawFace(int);
	
	virtual ~Model();
	
protected:
	
	std::vector<vertex> vertices;
	std::vector<std::vector<int>> faces;
	
	void skipLine(FILE*);
};

#endif
